<template>
    <view class="easy-tag" :class="customClass" v-if="text">
        <text class="tag">{{ text }}</text>
    </view>
</template>

<script>
export default {
    props: {
        text: {
            type: String,
            default: "",
        },
        customClass: {
            type: String,
            default: "",
        },
    },
    data() {
        return {}
    },
    methods: {},
}
</script>

<style lang="scss">
.easy-tag {
    display: flex;
    align-items: center;
    padding: 0 6rpx;
    text {
        font-size: $font-size-24;
    }
}
</style>
